package cn.hbwe.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 7组
 * @since 2023-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("patient")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病人ID
     */
    @TableId(value = "patient_id", type = IdType.AUTO)
    private Integer patientId;

    /**
     * 病人账户
     */
    private String patientAccount;

    /**
     * 病人密码

     */
    private String patientPassword;

    /**
     * 病人姓名
     */
    private String patientName;

    /**
     * 病人性别

     */
    private String patientSex;

    /**
     * 病人年龄

     */
    private Integer patientAge;

    /**
     * 联系方式
     */
    private String patientPhone;

    /**
     * E-mail
     */
    private String patientEmail;


}
